package com.lanou3g.code0404.morning;

/**
 * Created by dllo on 18/4/4.
 */
public class Test03 {

    public static void main(String[] args) {

        Table a[] = new Table[3];

        Table table = new Table();
        for (int i = 0; i < a.length; i++) {
            table.legCount = i;
            a[i] = table;
        }

        System.out.println(a[0].legCount);
        Foo3 foo3 = new Foo3();
        foo3.add(1,2);
    }





}
